@wi-he: 50px;
@bg: rgba(1, 140, 233, 0.8);
@bg-color: rgb(0, 143, 238);
@border: 1px solid rgba(0, 0, 0, .08);
@article: white;
@margin: 5px;

/* 文章 */
#article {
    position: relative;
    clear: both;
    padding: 20px;
    transform: translateY(40px);
    width: 780px;
    box-sizing: border-box;
    margin-top: 20px;
    border: none;

    // 头像
    .tt {
        display: flex;

        .hea {
            width: 65px;

            .head {
                position: relative;
                z-index: 1;
                width: @wi-he;
                height: @wi-he;
                border-radius: @wi-he;
                border: 1px solid rgba(0, 0, 0, .08);
                cursor: pointer;
                overflow: hidden;

                img {
                    width: 100%;
                }

                // 头像
            }
        }


        // 内容
        .content {
            width: 80%;
            color: #333;

            .nickname {
                font-size: 14px;
                cursor: default;
                display: inline;
            }

            .nickname:hover {
                color: @bg-color;
            }


            .use {
                width: 100%;

                .date {
                    font-size: 13px;
                    color: #aaa;
                }

                .date:hover {
                    color: @bg;
                    cursor: pointer;
                }

                .posi {
                    clear: both;
                    font-size: 13px;
                    color: #aaa;
                    margin-left: 10px;
                }

                p {
                    line-height: 25px;
                    letter-spacing: 1px;
                    margin-top: 10px;
                    font-size: 0.75em;
                    color: rgb(80, 80, 80);
                    // 文字超出盒子换行
                    word-wrap: break-word;
                }

                .use-img {
                    margin-top: 20px;
                    display: flex;


                    span {
                        display: flex;
                        justify-content: center;
                        background-color: rgb(240, 240, 240);
                        align-items: center;
                        text-align: center;
                        overflow: hidden;
                        border: 1px solid rgb(238, 237, 237);

                        img {
                            border: 1px solid rgba(0, 0, 0, .1);
                            height: 100%;
                        }

                    }

                    div:nth-child(1) {
                        margin-left: 0;

                    }
                }

                // 喜欢 评论 收藏 按钮
                .opinion {
                    display: flex;
                    justify-content: flex-end;
                    width: 100%;
                    text-align: right;
                    margin-top: 20px;
                    outline: none;

                    div {
                        float: left;
                        width: 60px;
                        height: 30px;

                        i {
                            cursor: pointer;
                            font-size: 1.3em;
                            color: #333;
                        }

                        .icon-aixin_shixin {
                            color: @bg-color;
                        }

                        .icon-tongbushoucang {
                            color: @bg-color;
                        }

                        span {
                            float: right;
                            display: block;
                            margin-top: 1px;
                            margin-left: 5px;
                            font-family: "黑体";
                        }
                    }
                }
            }
        }
    }


    // 评论区
    .comment-area {
        // height: 0px;
        width: 100%;
        overflow: hidden;

        .area {
            display: flex;
            height: 45px;
            width: 100%;

            .img {
                width: 45px;
                height: 45px;
                display: flex;
                align-items: center;
                border-radius: 45px;
                border: @border;
                overflow: hidden;

                img {
                    width: 100%;
                }
            }

            // 评论输入框
            textarea {
                background: rgb(235, 235, 235);
                font-size: 13 !important;
                width: 90%;
                border: none;
                outline: none;
                resize: none;
                margin-left: 10px;
                padding: 10px;
                padding-top: 13px;
                line-height: 17px;
                letter-spacing: 1px;
                border-radius: 10px;
                overflow-y: hidden;
            }

            // 滚动条消失
            textarea::-webkit-scrollbar {
                display: none;
            }
        }

        // 发表评论按钮
        .comment-area-but {
            width: 100%;
            text-align: right;
            margin: 0;

            .commBut {
                width: 100px;
                height: 35px;
                cursor: pointer;
                background: #999;
                border: none;
                color: white;
                border-radius: 35px;
                background-color: rgba(1, 140, 233, 1);
            }

            button:hover {
                background-color: rgba(1, 140, 233, 0.8);
            }
        }

        hr {
            width: 100%;
            height: 1px;
            border: none;
            margin: 10px 0;
            background: rgb(228, 228, 228);
        }

        // 列表
        .use-area {
            padding-top: 10px;
            color: #999;

            .unpl {
                text-align: center;
            }

            .wbpro-list {
                width: 100%;

                .list {
                    padding-left: 30px;
                    font-size: 13px;
                    line-height: 20px;

                    .listx {
                        display: flex;
                        margin-top: 30px;

                        .head {
                            margin-right: 10px;
                            width: 40px;
                            height: 40px;
                            overflow: hidden;
                            border: @border;
                            border-radius: 40px;

                            img {
                                width: 100%;
                            }
                        }

                        .reply {
                            width: 90%;

                            .name {
                                color: @bg-color;
                            }

                            .tex {
                                color: #333;
                            }

                            .data {
                                display: block;
                                font-size: 13;
                            }
                        }
                    }

                    .listx:first-child {
                        margin-top: 0;
                    }

                }

            }
        }
    }
}

.img1 {
    width: 100%;
}

.img2 {
    width: 48%;
    margin-left: @margin;
    margin-bottom: @margin;
}

.img3 {
    width: 31.5%;
    margin-left: @margin;
    margin-bottom: @margin;
}

@media screen and (max-width: 960px) {
    #article {
        width: 100% !important;
    }
}

@media screen and (max-width: 1120px) {
    #article {
        width: 640px;
    }
}
